<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JCSDK C++ API Reference: 消息通道模块</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">JCSDK C++ API Reference
   &#160;<span id="projectnumber">2.3.3</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#enum-members">枚举</a> &#124;
<a href="#func-members">函数</a>  </div>
  <div class="headertitle">
<div class="title">消息通道模块</div>  </div>
</div><!--header-->
<div class="contents">

<p>用于管理消息  
<a href="#details">更多...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
类</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_message_channel.html">JCMessageChannel</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_message_channel_callback.html">JCMessageChannelCallback</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_message_channel_conversation.html">JCMessageChannelConversation</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_message_channel_item.html">JCMessageChannelItem</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
枚举</h2></td></tr>
<tr class="memitem:ga0c8b56b8dbe68151f164ba4680f1022b"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga0c8b56b8dbe68151f164ba4680f1022b">JCMessageChannelType</a> { <a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gga0c8b56b8dbe68151f164ba4680f1022bae81260071eb3d169c0632cd2e21dd68c">JCMessageChannelType1To1</a>, 
<a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gga0c8b56b8dbe68151f164ba4680f1022babe536cdae1691690b82cbbcc42474d34">JCMessageChannelTypeGroup</a>
 }</td></tr>
<tr class="separator:ga0c8b56b8dbe68151f164ba4680f1022b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga10456c3b286efb9ad031538ccbbdf093"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga10456c3b286efb9ad031538ccbbdf093">JCMessageChannelReason</a> { <br />
&#160;&#160;<a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gga10456c3b286efb9ad031538ccbbdf093adad2d93d5679e2bad1e9d3fa17daa543">JCMessageChannelReasonNone</a>, 
<a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gga10456c3b286efb9ad031538ccbbdf093a4c6150a358cd118ee00935a16f4a0e3d">JCMessageChannelReasonNotLogin</a>, 
<a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gga10456c3b286efb9ad031538ccbbdf093abd7c0481c4c789328ba7ba75f5312eb9">JCMessageChannelReasonNetwork</a>, 
<a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gga10456c3b286efb9ad031538ccbbdf093a9aeab0bcacb1148d3084646ab6ea0ecd">JCMessageChannelReasonTooLong</a> = 10, 
<br />
&#160;&#160;<a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gga10456c3b286efb9ad031538ccbbdf093a86073b7595a310de7ee12ab45ecf412c">JCMessageChannelReasonOther</a> = 100
<br />
 }</td></tr>
<tr class="separator:ga10456c3b286efb9ad031538ccbbdf093"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab54acb990b6eda4b17173acc723308a4"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gab54acb990b6eda4b17173acc723308a4">JCMessageChannelItemState</a> { <br />
&#160;&#160;<a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ggab54acb990b6eda4b17173acc723308a4a1457d8e3d1cc722d2371d59cf88759de">JCMessageChannelItemStateInit</a>, 
<a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ggab54acb990b6eda4b17173acc723308a4aad41885b134a6b433bf716732e57f583">JCMessageChannelItemStateTransfering</a>, 
<a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ggab54acb990b6eda4b17173acc723308a4ad598b467b713e09b453c59f34eb3d01c">JCMessageChannelItemStateOK</a>, 
<a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ggab54acb990b6eda4b17173acc723308a4a9fe0299142bd42fe89275f9b12431bbf">JCMessageChannelItemStateFail</a>, 
<br />
&#160;&#160;<a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ggab54acb990b6eda4b17173acc723308a4a4cb8922afc53abb7f21db36699acd652">JCMessageChannelItemStateArrived</a> = 5, 
<a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ggab54acb990b6eda4b17173acc723308a4a9ad4bddd4288b709b52f77895e538f7a">JCMessageChannelItemStateReaded</a>, 
<a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ggab54acb990b6eda4b17173acc723308a4a48e3bb2669ef2ee3fca09cb030a06e21">JCMessageChannelItemStateWithdrawal</a>
<br />
 }</td></tr>
<tr class="separator:gab54acb990b6eda4b17173acc723308a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab26546123bab3c9872a0b73670e386ac"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gab26546123bab3c9872a0b73670e386ac">JCMessageChannelItemDirection</a> { <a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ggab26546123bab3c9872a0b73670e386aca7d0d6898b4722987d411e8870f1ccd9c">JCMessageChannelItemDirectionSend</a>, 
<a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ggab26546123bab3c9872a0b73670e386aca78383e0d1751e54da1ddbb311460753e">JCMessageChannelItemDirectionReceive</a>
 }</td></tr>
<tr class="separator:gab26546123bab3c9872a0b73670e386ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:ga3038bf89c68fa7a73a682d37fcb71931"><td class="memItemLeft" align="right" valign="top">JCSDK_API <a class="el" href="class_j_c_message_channel.html">JCMessageChannel</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga3038bf89c68fa7a73a682d37fcb71931">createJCMessageChannel</a> (<a class="el" href="class_j_c_client.html">JCClient</a> *client, <a class="el" href="class_j_c_message_channel_callback.html">JCMessageChannelCallback</a> *callback)</td></tr>
<tr class="separator:ga3038bf89c68fa7a73a682d37fcb71931"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2e53ca4551a00ac7bff9e53bb70a2193"><td class="memItemLeft" align="right" valign="top">JCSDK_API void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga2e53ca4551a00ac7bff9e53bb70a2193">destroyJCMessageChannel</a> ()</td></tr>
<tr class="separator:ga2e53ca4551a00ac7bff9e53bb70a2193"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<p>用于管理消息 </p>
<h2 class="groupheader">枚举类型说明</h2>
<a id="gab26546123bab3c9872a0b73670e386ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab26546123bab3c9872a0b73670e386ac">&#9670;&nbsp;</a></span>JCMessageChannelItemDirection</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gab26546123bab3c9872a0b73670e386ac">JCMessageChannelItemDirection</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>消息传输方向 </p>
<table class="fieldtable">
<tr><th colspan="2">枚举值</th></tr><tr><td class="fieldname"><a id="ggab26546123bab3c9872a0b73670e386aca7d0d6898b4722987d411e8870f1ccd9c"></a>JCMessageChannelItemDirectionSend&#160;</td><td class="fielddoc"><p>发送 </p>
</td></tr>
<tr><td class="fieldname"><a id="ggab26546123bab3c9872a0b73670e386aca78383e0d1751e54da1ddbb311460753e"></a>JCMessageChannelItemDirectionReceive&#160;</td><td class="fielddoc"><p>接收 </p>
</td></tr>
</table>

</div>
</div>
<a id="gab54acb990b6eda4b17173acc723308a4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab54acb990b6eda4b17173acc723308a4">&#9670;&nbsp;</a></span>JCMessageChannelItemState</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gab54acb990b6eda4b17173acc723308a4">JCMessageChannelItemState</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>消息状态 </p>
<table class="fieldtable">
<tr><th colspan="2">枚举值</th></tr><tr><td class="fieldname"><a id="ggab54acb990b6eda4b17173acc723308a4a1457d8e3d1cc722d2371d59cf88759de"></a>JCMessageChannelItemStateInit&#160;</td><td class="fielddoc"><p>消息初始状态 </p>
</td></tr>
<tr><td class="fieldname"><a id="ggab54acb990b6eda4b17173acc723308a4aad41885b134a6b433bf716732e57f583"></a>JCMessageChannelItemStateTransfering&#160;</td><td class="fielddoc"><p>消息传输中状态 </p>
</td></tr>
<tr><td class="fieldname"><a id="ggab54acb990b6eda4b17173acc723308a4ad598b467b713e09b453c59f34eb3d01c"></a>JCMessageChannelItemStateOK&#160;</td><td class="fielddoc"><p>消息成功状态 </p>
</td></tr>
<tr><td class="fieldname"><a id="ggab54acb990b6eda4b17173acc723308a4a9fe0299142bd42fe89275f9b12431bbf"></a>JCMessageChannelItemStateFail&#160;</td><td class="fielddoc"><p>消息失败状态 </p>
</td></tr>
<tr><td class="fieldname"><a id="ggab54acb990b6eda4b17173acc723308a4a4cb8922afc53abb7f21db36699acd652"></a>JCMessageChannelItemStateArrived&#160;</td><td class="fielddoc"><p>收到消息 已送达 </p>
</td></tr>
<tr><td class="fieldname"><a id="ggab54acb990b6eda4b17173acc723308a4a9ad4bddd4288b709b52f77895e538f7a"></a>JCMessageChannelItemStateReaded&#160;</td><td class="fielddoc"><p>已读 </p>
</td></tr>
<tr><td class="fieldname"><a id="ggab54acb990b6eda4b17173acc723308a4a48e3bb2669ef2ee3fca09cb030a06e21"></a>JCMessageChannelItemStateWithdrawal&#160;</td><td class="fielddoc"><p>撤回 </p>
</td></tr>
</table>

</div>
</div>
<a id="ga10456c3b286efb9ad031538ccbbdf093"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga10456c3b286efb9ad031538ccbbdf093">&#9670;&nbsp;</a></span>JCMessageChannelReason</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga10456c3b286efb9ad031538ccbbdf093">JCMessageChannelReason</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>消息错误枚举 </p>
<table class="fieldtable">
<tr><th colspan="2">枚举值</th></tr><tr><td class="fieldname"><a id="gga10456c3b286efb9ad031538ccbbdf093adad2d93d5679e2bad1e9d3fa17daa543"></a>JCMessageChannelReasonNone&#160;</td><td class="fielddoc"><p>正常 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga10456c3b286efb9ad031538ccbbdf093a4c6150a358cd118ee00935a16f4a0e3d"></a>JCMessageChannelReasonNotLogin&#160;</td><td class="fielddoc"><p>未登陆 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga10456c3b286efb9ad031538ccbbdf093abd7c0481c4c789328ba7ba75f5312eb9"></a>JCMessageChannelReasonNetwork&#160;</td><td class="fielddoc"><p>网络问题 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga10456c3b286efb9ad031538ccbbdf093a9aeab0bcacb1148d3084646ab6ea0ecd"></a>JCMessageChannelReasonTooLong&#160;</td><td class="fielddoc"><p>消息内容太长 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga10456c3b286efb9ad031538ccbbdf093a86073b7595a310de7ee12ab45ecf412c"></a>JCMessageChannelReasonOther&#160;</td><td class="fielddoc"><p>其他错误 </p>
</td></tr>
</table>

</div>
</div>
<a id="ga0c8b56b8dbe68151f164ba4680f1022b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0c8b56b8dbe68151f164ba4680f1022b">&#9670;&nbsp;</a></span>JCMessageChannelType</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga0c8b56b8dbe68151f164ba4680f1022b">JCMessageChannelType</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>一对一消息 </p>
<table class="fieldtable">
<tr><th colspan="2">枚举值</th></tr><tr><td class="fieldname"><a id="gga0c8b56b8dbe68151f164ba4680f1022bae81260071eb3d169c0632cd2e21dd68c"></a>JCMessageChannelType1To1&#160;</td><td class="fielddoc"><p>一对一消息 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga0c8b56b8dbe68151f164ba4680f1022babe536cdae1691690b82cbbcc42474d34"></a>JCMessageChannelTypeGroup&#160;</td><td class="fielddoc"><p>群组消息 </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">函数说明</h2>
<a id="ga3038bf89c68fa7a73a682d37fcb71931"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3038bf89c68fa7a73a682d37fcb71931">&#9670;&nbsp;</a></span>createJCMessageChannel()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">JCSDK_API <a class="el" href="class_j_c_message_channel.html">JCMessageChannel</a>* createJCMessageChannel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_j_c_client.html">JCClient</a> *&#160;</td>
          <td class="paramname"><em>client</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_j_c_message_channel_callback.html">JCMessageChannelCallback</a> *&#160;</td>
          <td class="paramname"><em>callback</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>创建 <a class="el" href="class_j_c_message_channel.html">JCMessageChannel</a> 对象</p>
<p><a class="el" href="class_j_c_message_channel.html">JCMessageChannel</a> 的所有接口函数，如无特殊说明，都建议在主线程调用</p>
<dl class="section note"><dt>注解</dt><dd><ul>
<li>调用此方法创建 <a class="el" href="class_j_c_message_channel.html">JCMessageChannel</a> 对象后，期间没有调用过 <a class="el" href="group___xE6_xB6_x88_xE6_x81_xAF_xE9_x80_x9A_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga2e53ca4551a00ac7bff9e53bb70a2193">destroyJCMessageChannel</a> 方法销毁对象，然后又重复调用此方法，会直接返回第一次创建的 <a class="el" href="class_j_c_message_channel.html">JCMessageChannel</a> 对象</li>
<li>调用此方法前确保 <a class="el" href="class_j_c_client.html">JCClient</a> 已完成初始化，即 <a class="el" href="class_j_c_client.html#a9c45eac84e61df792573e9a1431c2c1d">getState</a> 方法获取的状态值不等于 <a class="el" href="group___xE7_x99_xBB_xE5_xBD_x95_xE6_xA8_xA1_xE5_x9D_x97.html#gga8b1b44e57fff02634fd4637428a70020a555237c15a4b12568003ebe8af59de24">JCClientReasonSDKNotInit</a></li>
</ul>
</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">client</td><td><a class="el" href="class_j_c_client.html">JCClient</a> 对象 </td></tr>
    <tr><td class="paramname">callback</td><td><a class="el" href="class_j_c_message_channel_callback.html">JCMessageChannelCallback</a> 回调接口，用于回调相关通知 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回 <a class="el" href="class_j_c_message_channel.html">JCMessageChannel</a> 对象 </dd></dl>

</div>
</div>
<a id="ga2e53ca4551a00ac7bff9e53bb70a2193"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2e53ca4551a00ac7bff9e53bb70a2193">&#9670;&nbsp;</a></span>destroyJCMessageChannel()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">JCSDK_API void destroyJCMessageChannel </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>销毁 <a class="el" href="class_j_c_message_channel.html">JCMessageChannel</a> 对象 </p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.18
</small></address>
</body>
</html>
